package com.langfeiyes.pattern.factory.abstr;

//代工厂
public class FABFactory {

    //华为工厂
    public static ProductFactory createHWFactory(){
        return new HWProductFactory();
    }

    //小米工厂
    public static ProductFactory createXMFactory(){
        return new XMProductFactory();
    }
}
